package com.binfenhulian.chinaenergy.ces.manage.core.url2io.processor;

import com.binfenhulian.chinaenergy.ces.core.exception.BaseException;
import org.springframework.stereotype.Component;

/**
 * Created by wanghjbuf on 2018/3/15.
 */
public interface BaseExtraProcessor {

    /**
     * 标题处理
     * @param title
     * @return
     */
    public String processTitle(String title) throws BaseException;

    /**
     * 正文处理
     * @param content
     * @return
     */
    public String processContent(String content) throws BaseException;

    /**
     * 日期处理
     * @param date
     * @return
     */
    public String processDate(String date) throws BaseException;
}
